package dbgroup02.bean;

/**
 * This class represents the data bean for a ticket with its corresponding
 * Baggage information. The baggage info is done by delegation to a baggage
 * object.
 */
public class BaggageWithTicket {

	private int idTicket;
	private Baggage baggage = new Baggage();

	public int getIdTicket() {
		return idTicket;
	}

	public void setIdTicket(int idTicket) {
		this.idTicket = idTicket;
	}

	public int getIdBaggage() {
		return baggage.getIdBaggage();
	}

	public void setIdBaggage(int idBaggage) {
		baggage.setIdBaggage(idBaggage);
	}

	public int getIdCheckInInfo() {
		return baggage.getIdCheckInInfo();
	}

	public void setIdCheckInInfo(int idCheckInInfo) {
		baggage.setIdCheckInInfo(idCheckInInfo);
	}

	public int getWeight() {
		return baggage.getWeight();
	}

	public void setWeight(int weight) {
		baggage.setWeight(weight);
	}

	public String getType() {
		return baggage.getType();
	}

	public void setType(String type) {
		baggage.setType(type);
	}

}
